﻿<UserControl x:Class="iControl.Controls.Marquee"
       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       Height="120" Width="120" Background="Transparent">
	<UserControl.Resources>
		<Storyboard x:Key="RotateStoryboard">
			<DoubleAnimation Storyboard.TargetName="canvas" 
				Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" 
				RepeatBehavior="Forever" 
				From="0" To="360" 
				Duration="0:0:01"/>
		</Storyboard>
	</UserControl.Resources>
    <Viewbox>
        <Grid Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid.RenderTransform>
                <ScaleTransform x:Name="SpinnerScale"  ScaleX="1.0" ScaleY="1.0" />
            </Grid.RenderTransform>
            <Canvas RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Width="120" Height="120" x:Name="canvas" >
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="20.1696" 
                        Canvas.Top="9.76358" 
                        Stretch="Fill" Fill="#FF000000" 
                        Opacity="1.0"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="2.86816" 
                        Canvas.Top="29.9581" Stretch="Fill" 
                        Fill="Black" Opacity="0.9"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="5.03758e-006" 
                        Canvas.Top="57.9341" Stretch="Fill" 
                        Fill="Black" Opacity="0.8"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="12.1203" 
                        Canvas.Top="83.3163" Stretch="Fill" 
                        Fill="Black" Opacity="0.7"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="36.5459" 
                        Canvas.Top="98.138" Stretch="Fill" 
                        Fill="Black" Opacity="0.6"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="64.6723" 
                        Canvas.Top="96.8411" Stretch="Fill" 
                        Fill="Black" Opacity="0.5"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="87.6176" 
                        Canvas.Top="81.2783" Stretch="Fill" 
                        Fill="Black" Opacity="0.4"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="98.165" 
                        Canvas.Top="54.414" Stretch="Fill" 
                        Fill="Black" Opacity="0.3"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="92.9838" 
                        Canvas.Top="26.9938" Stretch="Fill" 
                        Fill="Black" Opacity="0.2"/>
                <Ellipse Width="21.835" Height="21.862" 
                        Canvas.Left="47.2783" 
                        Canvas.Top="0.5" Stretch="Fill" 
                        Fill="Black" Opacity="0.1"/>
                <Canvas.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="1" ScaleY="1"/>
            			<SkewTransform AngleX="0" AngleY="0"/>
            			<RotateTransform Angle="0"/>
            			<TranslateTransform X="0" Y="0"/>
            		</TransformGroup>
            	</Canvas.RenderTransform>
                
            </Canvas>
        </Grid>
    </Viewbox>
</UserControl>